
import request from '@/utils/request'
/**
 * 查询组织工会列表
 */
export function listTradeUnion(query) {
	return request({
		url: '/organization/tradeUnion/list',
		method: 'GET',
		params: query
	})
}

/**
 * 查询组织工会列表下级
 */
export function listTSelectRadeUnion(parentId) {
    return request({
        url: `/organization/tradeUnion/selectTradeUnionListByParentId/${parentId}`,
        method: 'GET',
    })
}


// 根据工会名称查询
export function laborUnionInformationByName(data) {
    return request({
        url: `/organization/tradeUnion/selectAllByTradeUnion`,
        method: 'POST',
        data,
    })
}